from led7segment import Led7Segment

led = Led7Segment(img_path)
voltage = led.get_voltage()
resistance = led.get_resistance()